#region Microsoft Public License
/*
 * (c) Copyright Chenjun Wu. http://utablesdk.codeplex.com
 * 
 * This source is subject to the Microsoft Public License (Ms-PL).
 * Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
 * All other rights reserved.
 */
#endregion

﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UTable.Objects.Controls
{
    internal delegate void LayoutPropertyChangedEventHandler(LayoutPropertyChangedEventArgs args);

    internal class LayoutPropertyChangedEventArgs : EventArgs
    {
        public LayoutPropertyChangedEventArgs(LayoutPropertyType type, object newValue)
        {
            this.PropertyType = type;
            this.NewValue = newValue;
        }

        public LayoutPropertyType PropertyType;

        public object NewValue;
    }

    internal enum LayoutPropertyType
    {
        WIDTH,
        HEIGHT,
        MIN_WIDTH,
        MIN_HEIGHT,
        MAX_WIDTH,
        MAX_HEIGHT,
        Clip
    }
}
